package com.brillilab.domain.po.lab;


import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.fasterxml.jackson.annotation.JsonInclude;




/**
 * <p>区域表<p/>
 *
 * @author wmh
 */
//(value="区域")
@TableName("area")
@JsonInclude(JsonInclude.Include.NON_NULL)
public class Area implements Serializable {

  private static final long serialVersionUID = 1L;

  /**
   * 区域ID
   */
  @TableId(type=IdType.AUTO)
  private Long id;
  /**
   * 区域父ID
   */
  //(value="区域父级ID",required=true)
  private Long parentId;
  /**
   * 区域名称
   */
  //(value="区域名称",required=true)
  private String name;

  //(value="创建时间 时间戳 Long类型",example="1540800076")
  private Date createTime;

  //(value="修改时间 时间戳 Long类型",example="1540800076")
  private Date updateTime;

  public Long getId() {
    return id;
  }

  public void setId(Long id) {
    this.id = id;
  }


  public Long getParentId() {
    return parentId;
  }

  public void setParentId(Long parentId) {
    this.parentId = parentId;
  }


  public String getName() {
    return name;
  }

  public void setName(String name) {
    this.name = name;
  }


  public Date getCreateTime() {
	return createTime;
}

public void setCreateTime(Date createTime) {
	this.createTime = createTime;
}

public Date getUpdateTime() {
	return updateTime;
}

public void setUpdateTime(Date updateTime) {
	this.updateTime = updateTime;
}

@Override
  public String toString() {
    return "Area{" +
            "id=" + id +
            ", parentId=" + parentId +
            ", name='" + name + '\'' +
            '}';
  }
}
